tests: Fix up GPG tests for more strict EL7 GPG
authorColin Walters <walters@verbum.org>
Mon, 10 Feb 2014 14:38:07 +0000 (09:38 -0500)
committerColin Walters <walters@verbum.org>
Mon, 10 Feb 2014 14:40:35 +0000 (09:40 -0500)
commit26d5db696bd1b6fa7ac5131c0ff2acfa4e9056ed
treeb13150f93fd3cc82f4c339fa0e4ea1d2865b7f4c
parent2ee2751fd1f05413d31814534639f1940a0364aa
tests: Fix up GPG tests for more strict EL7 GPG

These GPG tests were failing for me on EL7 - it appears to be because
we had only one directory for both private and public keys, and we
were giving that to ostree for verification, which passed them onto
gpgv.

In EL7 beta at least, gpgv now barfs if it finds a private key where
it is just expecting to find public keys.

Fix this by splitting out the public trusted directory from the
private key directory.  Except now for signing, we still need the
public key there, so symlink it.  Whee!
Makefile-tests.am
tests/gpghome/pubring.gpg [deleted file]
tests/gpghome/trusted/pubring.gpg [new file with mode: 0644]
tests/libtest.sh
tests/test-gpg-signed-commit.sh